package xmlcollabclient.staro;

import javax.swing.*;

/**
 *
 * @author Sasa
 */
public class TestGui {

    public static void main(String[] args) {
        
        JFrame frame = new JFrame("Client");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

        JPanel panel = new JPanel();

        JButton refresh = new JButton("Refresh");

        panel.add(refresh);

        // dodaj taskove
        JCheckBox task1 = new JCheckBox();
        JCheckBox task2 = new JCheckBox();
        task1.setName("task_1");
        task1.setText("Naziv taska");
        task1.setBounds(50, 10, 100, 100);
        task2.setName("task_2");
        task2.setText("Naziv taska 2");
        task2.setBounds(51, 40, 100, 100);
        panel.add(task1);
        panel.add(task2);
        panel.setLayout(null);

        frame.setContentPane(panel);
        frame.pack();
        frame.show();
    }
    

}
